package com.boot4g.admin.module.publish.service.impl;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.boot4g.admin.module.publish.dao.SysDicDao;
import com.boot4g.admin.module.publish.service.SysDicService;
import com.boot4g.entity.SysDicEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;


@Service("SysDicService")
public class SysDicServiceImpl extends ServiceImpl<SysDicDao, SysDicEntity> implements SysDicService {
	@Autowired
	private SysDicDao sysDicDao;
    @Override
    public Page<SysDicEntity> selectByPage(Page page, Map<String, Object> params) {
        page.setRecords(sysDicDao.selectByPage(page,params));
        return page;
    }
}
